/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
	-moz-tab-size: 2; /* Firefox */
	tab-size: 2;
	--ifm-font-family-base: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont,
	'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
	'Segoe UI Emoji', 'Segoe UI Symbol';
	--ifm-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
	'Liberation Mono', 'Courier New', monospace;
	--ifm-color-primary: #e1ad03;
	--ifm-color-primary-dark: #d5a64c;
	--ifm-color-primary-darker: #c89c48;
	--ifm-color-primary-darkest: #af893b;
	--ifm-color-primary-light: #c89c48;
	--ifm-color-primary-lighter: #d5a64c;
	--ifm-color-primary-lightest: #e1b000;
	--ifm-color-title: #fac03d;
	--ifm-color-subtitle: #eee;
	--ifm-font-size-base: 95%;
	--ifm-code-font-size: 95%;
	--ifm-line-height-base: 1.85;
	--ifm-color-hero-background: rgba(0, 0, 0, 0.5);
	--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
	--navbar-bg: #ffffff1a;
	--navbar-item-color: #ffffff;
	--navbar-item-hover-bg: rgba(250, 192, 61, 0.9);
	--dropdown-bg: #fff;
}

.table-of-contents__left-border {
	--ifm-toc-border-color: rgba(0, 0, 0, 0);
}

.theme-doc-sidebar-container {
	--ifm-toc-border-color: rgba(0, 0, 0, 0);
}

.menu__list {
	padding-left: 10px;
	padding-right: 20px;
}

/* 侧边栏菜单项链接 */
.theme-doc-sidebar-item-link {
	display: flex;
	align-items: center;
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-decoration: none;
	color: var(--ifm-color-emphasis-700);
	font-size: 15px;
	position: relative;
	overflow: visible;
}

.theme-doc-sidebar-item-link:hover {
	color: var(--ifm-color-primary);
	transform: translateX(4px);
}

.menu__link--sublist {
	font-size: 15px;
	border-radius: 4px;
	border: 1px solid rgba(250, 192, 61, 0.5);
}

[data-theme='dark'] .menu__link--sublist {
	border: 1px solid rgba(250, 192, 61, 0.2);
}

[data-theme='light'] .menu__link--active {
	background-color: rgba(250, 192, 61, 0.1) !important;
}

[data-theme='dark'] .menu__link--active {
	background-color: rgba(250, 192, 61, 0.2) !important;
}

.theme-code-block {
	border: 0.5px solid var(--ifm-color-primary-darkest);
}

.navbar-sidebar {
	min-height: 100vh;
}

.navbar__item:hover {
	color: var(--navbar-item-color);
	background-color: var(--navbar-item-hover-bg);
	border-radius: 5px;
}

.navbar {
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	background-color: var(--navbar-bg);
}

.footer {
	--ifm-footer-background-color: rgba(36, 37, 38, 1.0);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
	--ifm-color-primary: #fac03d;
	--ifm-color-primary-dark: #f5c000;
	--ifm-color-primary-darker: #e0b000;
	--ifm-color-primary-darkest: #cca000;
	--ifm-color-primary-light: #d5a64c;
	--ifm-color-primary-lighter: #e1b000;
	--ifm-color-primary-lightest: #fac03d;
	--ifm-color-hero-background: rgba(0, 0, 0, 0.6);
	--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
	--navbar-bg: #0000003a;
	--navbar-item-color: #1a1a1a;
	--navbar-item-hover-bg: rgba(250, 192, 61, 0.7);
	--dropdown-bg: var(--ifm-background-color);
}

.header-github-link:hover {
	opacity: 0.6;
}

[data-theme='dark'] .header-github-link:before {
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
	no-repeat;
}

.header-github-link:before {
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
	no-repeat;
	content: "GitHub";
	display: flex;
	padding-left: 2em;
	margin-bottom: 10px;
	align-items: center;
	height: 18px;
	width: 18px;
}

.header-gitee-link:hover:before {
	opacity: 0.6;
}

.header-gitee-link:before {
	background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%25' height='100%25' viewBox='0 0 90 90' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg id='Group'%3E%3Ccircle id='Combined-Shape' cx='44.854' cy='44.854' r='44.854' style='fill:rgb(199,29,35);'/%3E%3Cpath id='G' d='M67.559,39.871L42.086,39.871C40.863,39.872 39.871,40.863 39.87,42.086L39.869,47.624C39.868,48.847 40.859,49.839 42.083,49.839C42.083,49.839 42.083,49.839 42.083,49.839L57.591,49.839C58.814,49.839 59.806,50.83 59.806,52.054C59.806,52.054 59.806,52.054 59.806,52.054L59.806,53.161C59.806,56.831 56.831,59.806 53.161,59.806L32.117,59.806C30.893,59.806 29.902,58.815 29.902,57.591L29.901,36.549C29.901,32.879 32.876,29.904 36.546,29.904C36.546,29.904 36.546,29.904 36.546,29.904L67.552,29.904C68.775,29.903 69.767,28.912 69.769,27.689L69.772,22.152C69.774,20.928 68.783,19.936 67.56,19.935C67.559,19.935 67.559,19.935 67.559,19.937L36.548,19.937C27.373,19.937 19.935,27.374 19.935,36.549L19.935,67.559C19.935,68.782 20.927,69.774 22.15,69.774L54.822,69.774C63.08,69.774 69.774,63.08 69.774,54.822L69.774,42.086C69.774,40.863 68.782,39.871 67.559,39.871Z' style='fill:white;'/%3E%3C/g%3E%3C/svg%3E%0A")
	no-repeat;
	content: "Gitee";
	display: flex;
	padding-left: 2em;
	align-items: center;
	margin-bottom: 10px;
	height: 18px;
	width: 18px;
}

.header-gitcode-link:hover:before {
	opacity: 0.6;
}

.header-gitcode-link:before {
	background: url("'/%3E%3C/svg%3E")
	no-repeat;
	content: "GitCode";
	display: flex;
	padding-left: 2em;
	align-items: center;
	height: 18px;
	width: 18px;
}

.navbar__link {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.footer-logo {
	margin-top: 0em;
}

.footer-openatom {
	background: url('/static/img/site/openatom.svg') no-repeat;
	content: "";
	display: flex;
	height: 42px;
}
